//
//  RPSubHelperVC.swift
//  RPLogManager_Example
//
//  Created by John on 2023/12/9.
//  Copyright © 2023 john. All rights reserved.
//

import UIKit

class RPSubHelperVC: UIViewController {
    var name: String

      // B 的指定初始化器
      init(name: String) {
          self.name = name
          super.init(nibName: nil, bundle: nil)
          // 其他 B 的初始化逻辑...
      }
    
    override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
//          super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
        self.name = "ss"
        super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
          // 其他初始化逻辑...
      }

      required init?(coder aDecoder: NSCoder) {
          fatalError("init(coder:) has not been implemented")
      }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = .red
        
    }

}
